package com.ncst.backend.service;

import com.ncst.backend.domain.Prescription;
import com.ncst.backend.domain.vo.FeeGetVo;

import java.util.List;

/**
 * 处方服务接口
 */
public interface PrescriptionService {
    Prescription getById(Integer id);
    List<Prescription> getAll();
    List<Prescription> getByCondition(Prescription prescription);
    List<Prescription> getByPage(Integer pageNum, Integer pageSize);
    List<Prescription> getByPage(Integer pageNum, Integer pageSize, Prescription prescription);
    Long countAll();
    Long countByCondition(Prescription prescription);
    boolean save(Prescription prescription);
    boolean saveBatch(List<Prescription> list);
    boolean updateById(Prescription prescription);
    boolean removeById(Integer id);
    boolean removeByIds(List<Integer> ids);

    List<Prescription> getByCaseNumberAndRealName(String caseNumber, String realName);

    List<FeeGetVo> getFeeByRegisterId(Integer registerId);
}
